package org.opens.service.fallback;

import org.opens.entity.Product;
import org.opens.service.ProductService;
import org.springframework.stereotype.Service;

/**
 * 注意:
 * <pre>
 *     1. 如果不添加@Service注解, 启动会报错;
 * </pre>
 */
@Service
public class ProductServiceFallback implements ProductService {

    @Override
    public Product findById(Integer id) {
        return null;
    }

}
